import './assets/style.scss'
import './assets/font/iconfont.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from "./router"
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import i18n from './i18n';

//md 插件的使用
import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';
const app = createApp(App)

import Prism from 'prismjs';

VueMarkdownEditor.use(vuepressTheme, {
  Prism,
});

app.use(VueMarkdownEditor);

app.use(i18n)
app.use(router)
app.use(ElementPlus)

app.mount('#app')
